package com.ddpyjqtd.fatory.abstractfactory;

import com.ddpyjqtd.fatory.abstractfactory.pad.IPad;
import com.ddpyjqtd.fatory.abstractfactory.pad.XiaomiPad;
import com.ddpyjqtd.fatory.cellphone.ICellPhone;
import com.ddpyjqtd.fatory.functionfactory.impl.XiaomiFactory;

public class XiaomiAbstractFactoryImpl extends AbstractFactory {

	@Override
	protected ICellPhone getPhone() {
		return new XiaomiFactory().getCellPhone();
	}

	@Override
	protected IPad getPad() {
		return new XiaomiPad();
	}

}
